#ifndef FOOLISHGO_PLAYMODE_H
#define FOOLISHGO_PLAYMODE_H


#include "macro_and_enum.h"
#include "Intelligence.h"

enum EPlayer {
	COMPUTER_PLAYER,
	HUMAN_PLAYER
};

class CPlayMode
{
public:
	CPlayMode(int lineCount);
	void Init(void);
	~CPlayMode(void);
	
	void SetLineCount(int lineCount) {m_LineCount = lineCount;}
	int8_t GetLineCount(void) {return m_LineCount;}

	bool Input(const SLocationOnGoBoard &input);
	bool Ouput(void);

private:
	DISALLOW_COPY_AND_ASSIGN(CPlayMode);

	friend class CBoardView;
	friend class CFoolishGoDoc;
	friend class CFoolishGoView;

	CIntelligence m_Intelligence;
	CGoBoardWithCommonProcess m_GoBoardWithCommonProcess;
	int8_t m_LineCount;
	EPlayer m_ToPlayFirst;
};


#endif